package com.itnoob.demo1;

/**
 * 外部变化的状态
 * @author zhoujun
 * @date 2025/3/21 21:56
 */
public class CoffeeStyle {

    private String cup;

    private String temperature;

    public CoffeeStyle(String cup, String temperature) {
        this.cup = cup;
        this.temperature = temperature;
    }

    @Override
    public String toString() {
        return "CoffeeStyle{" +
                "cup='" + cup + '\'' +
                ", temperature='" + temperature + '\'' +
                '}';
    }
}
